//
//  LKCustonTextFieldView.m
//  TJHYHardwareProduct
//
//  Created by Kendama on 2018/1/22.
//  Copyright © 2018年 Kendama. All rights reserved.
//

#import "LKCustonTextFieldView.h"

@implementation LKCustonTextFieldView

- (UITextField *)textField
{
    if(!_textField)
    {
        UIView *superView = self;
        _textField = [[UITextField alloc]init];
        [superView addSubview:_textField];
    }
    return _textField;
}

- (void)masLayoutSubview
{
    __weak UIView *superView = self;
    [self.textField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.mas_equalTo(superView.mas_centerY);
        make.left.mas_equalTo(superView.mas_left).with.offset(px1080Width(73));
        make.height.mas_equalTo(superView);
        make.right.mas_equalTo(superView.mas_right).with.offset(-px1080Width(73));
    }];
}

@end
